package com.bdqn.mapper;

import com.bdqn.entity.ShoppingCart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bdqn.param.requset.CartParam;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 购物车 Mapper 接口
 * </p>
 *
 * @author hunter
 * @since 2022-06-11
 */
@Repository
public interface ShoppingCartMapper extends BaseMapper<ShoppingCart> {

    boolean sub(CartParam cartParam);

    boolean add(CartParam cartParam);
}
